<?PHP
/**
 * $Rev: 8 $
 * $Id: constants.php 8 2013-03-02 20:35:16Z vad.oparin@gmail.com $
 */
// HTTP protocol
define('PROTOCOL', ((isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on'))) ? 'https://' : 'http://');

// application root
defined('APP_ROOT') or define('APP_ROOT', $_SERVER['DOCUMENT_ROOT']);
